package com.qf.controller;

import com.qf.service.UserAService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhaojian
 */
@RestController
public class UserAController {

    @Autowired
    private UserAService userAService;

    @RequestMapping("/a")
    public String a() {
        userAService.incrA(1, 500);
        return "转账成功!";
    }
}
